package com.yh.controller;

/**
 * @Description: Description
 * @Author: 张颖辉(yh)
 * @CreateDate: 2018/5/21 11:09
 * @UpdateUser: 张颖辉(yh)
 * @UpdateDate: 2018/5/21 11:09
 * @UpdateRemark: The modified content
 * @Version: 1.0
 */

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class PageController {
    @GetMapping("/index")
    public String toIndex() {
        return "index";
    }

//    @RequestMapping("/page/{pageName}")
//    public String toPage(@PathVariable String pageName) {
//        return pageName;
//    }
}
